package com.dingwen.treasure.business.service;

import com.dingwen.treasure.business.model.dto.TaskGenerateDto;
import com.dingwen.treasure.business.model.entity.TaskGenerate;

import java.util.List;

/**
 * 　TaskGenerateService
 * 　@author dingwen
 * 　@date 2022/8/4
 *
 */
public interface TaskGenerateService {


    /**
     * 生成
     *
     * @param taskGenerateDto 任务生成dto
     */
    void generate(TaskGenerateDto taskGenerateDto);


    /**
     * 批量存库
     *
     * @param taskGenerates 任务
     */
    void saveBath(List<TaskGenerate> taskGenerates);
}
